var result = _dataContext.table.Where(x => idList.Contains(x.Id));
var userProfiles = _dataContext.UserProfile .Where(t => idList.Contains(t.Id));